import request, { type Result } from '@/utils/request'

// 获取路由
export const getRouters = async (): Promise<Result> => {
  return await request({
    url: '/getRouters',
    method: 'get',
  })
}
